package com.guomao.entity;

//@Data
//@AllArgsConstructor
//@NoArgsConstructor
//@Alias(value = "xyz")
public class Student {

    private Integer sid;
    private String sName;
    private String sgender;
    private Integer age;
    private Integer classid;


    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getSgender() {
        return sgender;
    }

    public void setSgender(String sgender) {
        this.sgender = sgender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Student() {
    }

    public Student(Integer sid, String sName, String sgender, Integer age, Integer classid) {
        this.sid = sid;
        this.sName = sName;
        this.sgender = sgender;
        this.age = age;
        this.classid = classid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sName='" + sName + '\'' +
                ", sgender='" + sgender + '\'' +
                ", age=" + age +
                ", classid=" + classid +
                '}';
    }
}
